Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Flow breadcrumb missing in Header component #3857

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Oct 25, 2024

Fixes https://trello.com/c/AdUlB86T/3076-fix-header-breadcrumb-view-when-viewing-settings-submission-log-and-feedback-screens-for-a-service

At some point when refactoring routes, I've missed adding the flow name to route.data.

We could also get this from the store, but that would mean -

  • needing to nullify flowSlug when navigating back to `/teams
  • if we want additional breadcrumbs (e.g. "/ feedback") in the header, we'd be controlling them via Zustand

In reality, the route is the most reliable and simple source of truth here for breadcrumbs 👍

Screen.Recording.2024-10-25.at.17.27.27.mov

@DafyddLlyr DafyddLlyr requested a review from a team October 25, 2024 16:27
@DafyddLlyr
Copy link
Contributor Author

Copy link

github-actions bot commented Oct 25, 2024

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr merged commit 5ede8b2 into main Oct 27, 2024
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/header-breadcrumbs-bug branch October 27, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants